<table>
  <tr><th colspan="2"><?php echo $html->link($event['Event']['title'], "/events/view/".$event['Event']['id']);?>
                      <?php if ($admin) {?>
                        <?php echo $html->link('[editer]', "/admin/events/edit/".$event['Event']['id']); ?>
                        <?php echo $html->link('[supprimer]', "/admin/events/delete/".$event['Event']['id']);?>
                      <?php } ?></th></tr>

  <tr><td>Description :</td><td><?php echo $event['Event']['description']?></td></tr>
  <tr><td>Date de d&eacute;but :</td><td><?php echo $event['Event']['startDateOnly']?></td></tr>
  <tr><td>Heure de d&eacute;but : </td><td><?php echo $event['Event']['start']['hour']?>:
                                           <?php echo $event['Event']['start']['min']?></td></tr>
  <tr><td>Date de fin :</td><td><?php echo $event['Event']['endDateOnly']?></td></tr>
  <tr><td>Heure de fin : </td><td><?php echo $event['Event']['end']['hour']?>:
                                  <?php echo $event['Event']['end']['min']?></td></tr>

  <tr><td colspan="2">Fichiers liées :</td></tr>
  <?php foreach ($event['Upload'] as $f) { ?>
    <tr><td style="padding-left: 15px"><?php echo $f['extra_field']; ?> (<?php echo $f['file_name']; ?>)</td>
        <td><?php echo '<a href="'.BASEDIR.'/upload'.DS.$f['subdir'].DS.$f['file_name'].'">[voir]</a><br/>'; ?></td></tr>
  <?php } ?>
</table>
